php forum
php mysql forum
php mysql smarty
 
Topic Options
#282173 - 11/21/04 09:36 AM Finished-[6.5] Splash screen 1.0
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
Mod Name / Version: Splash screen 1.0 <br /> <br />Description: This mod displays a "splash screen" before a post can be made in order to remind the user of the board rules or whatever you wish your users to be reminded of. <br /> <br />Example: <br />[]http://img35.exs.cx/img35/9493/Clipboard3.th.gif[/] <br /> <br />Working Under: Written under UBB.Threads 6.5 but probably works also under earlier versions. <br /> <br />Mod Status: Finished <br /> <br />Any pre-requisites: none <br /> <br />Author(s): Anno <br /> <br />Date: 11/21/04 <br /> <br />Credits: <br /> <br />Files Altered: newreply.php <br />newpost.php <br /> <br />New Files: splash.php <br />a default splash screen file <br />a file for each forum you want to display a forum spcific splash screen <br /> <br />Database Altered: no <br /> <br />Info/Instructions: Instruction and files are in the attachment. <br /> <br />The default.html file contains the text that is displayed if no special file exists for the particular forum. <br /> <br />If you want to not display the splash screen in a particular forum, you can exclude it by including <br />$NoSplash['forum4'] = "yes"; <br />in splash.php where "forum4" is the keyword of the excluded forum. <br /> <br />Specify the Title of the splash page by modifying the $pagetitle variable in splash.php. <br /> <br />The conditions for the display of the splash screen are done by modifying the splash.php file. <br /> <br />You can specify <br />- the minimum amount of post the user has to have <br />- the minimum time since registration <br />- the maximum time that has passed from the last post in the same forum(if set to ~1 hour this basically prevents showing the splash screen sveral times in a row if the user makes several posts in a forum) <br /> <br />Some examples: <br />Example 1: <br />You want to display the splash screen only to complete newbies until they have 10 posts regardles of have long they have been registered for, and you want the screen display every time they make a post, regardless of when they made the last post,then you would choose theses settings: <br /> <br />$PostsReq['forum1']=10; <br />$DaysReq['forum1']=0; <br />$LastReq['forum1']=0; <br /> <br />Example 2: <br />You want to display the splash screen to everybody, always, regardless of the number of posts or how long they have been registered for, but you want to display it only once per "posting session"(=only if the last post in the same forum was more than 1 hour back): <br /> <br />$PostsReq['forum2']=1000000; <br />$DaysReq['forum2']=1000000; <br />$LastReq['forum2']=1; <br /> <br />Example 3: <br />You want to display the splash screen to newbies for the first 30 days since registration, regardles of the number of posts. You want to display it only once per per "posting session"(=only if the last post in the same forum was more than 1 hour back): <br /> <br />$PostsReq['forum3']=0; <br />$DaysReq['forum3']=30; <br />$LastReq['forum3']=1; <br /> <br />If you want the mods or admins or both to be excluded from being shown the splash screen, uncomment the 2 conditions in the splash.php, lines 59 and 60: <br /> // && ($user['U_Status'] != "Administrator") <br /> // && ($user['U_Status'] != "Moderator") <br /> <br />Disclaimer: Please backup every file that you intend to modify. <br />If the modification modifies the database, it's a good idea to backup your database before doing so. <br /> <br />Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.


Attachments
123255-splash.zip (276 downloads)


Top
#282174 - 11/21/04 12:25 PM Re: Finished-[6.5] Splash screen 1.0 [Re: domain123]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
Nice one! Thanks!!
_________________________
Nikos

Top
#282175 - 11/24/04 07:31 AM Re: Finished-[6.5] Splash screen 1.0 [Re: Hal_dup2]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
I am overwhelmed by the demand for this mod, 0 downloads, LOL. <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />

Top
#282176 - 11/24/04 11:32 AM Re: Finished-[6.5] Splash screen 1.0 [Re: domain123]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1966
Loc: Sweden, Stockholm
It's certainly something I'd like to use, but I don't run 6.5 (yet).
_________________________
/Gardener | Complete list of my mods

Top
#282177 - 11/24/04 11:38 AM Re: Finished-[6.5] Splash screen 1.0 [Re: c0bra]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
As I said, I am pretty sure it will run under 6.4 also.

Top
#282178 - 11/24/04 01:48 PM Re: Finished-[6.5] Splash screen 1.0 [Re: domain123]
Pappy Offline
Member

Registered: 11/17/00
Posts: 235
Loc: Germany (US Citizen)
the only problem I could see with this mod is that it might drive new users nuts enough that they may not wish to come back lol

Top
#282179 - 11/24/04 03:24 PM Re: Finished-[6.5] Splash screen 1.0 [Re: MercAqua]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
I really depends on the settings. If done right(see the instructions) they will see it once per forum day.<br /><br />And, it is mainly ment for busy sites of course.

Top
#282180 - 11/27/04 09:12 PM Re: Finished-[6.5] Splash screen 1.0 [Re: domain123]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Nice, I can see how it would especially be needed for sites aimed at younger users <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#282181 - 11/27/04 09:40 PM Re: Finished-[6.5] Splash screen 1.0 [Re: SurfMinister]
ChAoS_dup1 Offline
Code Monkey

Registered: 11/15/02
Posts: 576
Loc: Great Northwest
My thought was to make a special group for frequent "spammers" It would flash an image of a sign or banner that would say "Is this post absolutely necessary?"


Edited by ChAoS (11/27/04 09:41 PM)
_________________________
ChAoS
Emerald Forest Gaming Servers
Official STFU Thread


Top
#282182 - 02/12/06 09:36 AM Re: Finished-[6.5] Splash screen 1.0 [Re: barbiro]
MattUK Offline
Journeyman

Registered: 11/23/01
Posts: 137
What would be nice is the ablily to have this displayed just once until you reset a flag. Much like the mod that allows us to force users to click accept on rules for the site.<br /><br />Great for letting people know about something important before they use the site.

Top



Moderator:  Ian_W 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks